package com.vipshop.service.impl;

import com.vipshop.dao.UserMapper;
import com.vipshop.dao.UserMapperExt;
import com.vipshop.entity.User;
import com.vipshop.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2017/11/23.
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Autowired
    private UserMapperExt userMapperExt;

    public User getUserById(long Id){
        return  userMapperExt.getUserById(Id);
    }
}
